package com.prj.ufdm.cloud.ms.core.bpo._impl.code;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.prj.ufdm.cloud.ms.core.bpo._impl.BaseBPOImpl;
import com.prj.ufdm.cloud.ms.core.bpo.code.SysCodeBPO;
import com.prj.ufdm.cloud.ms.core.dao.code.SysCodeDao;
import com.prj.ufdm.cloud.ms.core.model.code.SysCode;
import com.prj.ufdm.cloud.ms.core.model.code.SysCodeVO;


/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zhengzixiang
 * @since 2019-09-20
 */
@Service(value="sysCodeBPO")
public class SysCodeBPOImpl extends BaseBPOImpl<SysCodeDao, SysCode>  implements SysCodeBPO {

    @Autowired
    private  SysCodeDao sysCodeDao;


    @Override
	public Integer doGetNotMeTotal(SysCode code) throws Exception {
		return sysCodeDao.selectNotMeTotal(code);
	}


	@Override
	public List<SysCodeVO> doGetEnumType(String codeType, String codeEnabledState) throws Exception {
		return sysCodeDao.selectEnumType(codeType, codeEnabledState);
	}
   
}
